Skip to content

docs: document deno install --prod (2.8)#3073

Open
lunadogbot wants to merge 1 commit into
denoland:2.8from
lunadogbot:docs/2.8-install-prod
Open

docs: document deno install --prod (2.8)#3073
lunadogbot wants to merge 1 commit into
denoland:2.8from
lunadogbot:docs/2.8-install-prod

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

Documents the new --prod and --skip-types flags on deno install, shipping in Deno 2.8 (denoland/deno#33248).

  • New "deno install --prod" subsection in runtime/reference/cli/install.md covering the flag, the --skip-types companion, the --entrypoint interaction (code-only graph), and the conflict rules vs --global/--dev.
  • Calls out the @types/ prefix-only match as a footgun.

Test plan

  • deno task serve — section renders, ToC anchor #deno-install-prod resolves.

Adds a section to the install reference page covering the new --prod
flag, which skips devDependencies, and the related --skip-types flag,
which additionally skips @types/* packages. Notes the conflict with
--global / --dev, the code-only graph behavior with --entrypoint, and
the prefix-only match for @types/.

Refs denoland/deno#33248
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:46
Copy link
Copy Markdown
Contributor

@fibibot fibibot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new --prod section matches denoland/deno#33248: it covers skipping devDependencies, the --skip-types companion, the code-only --entrypoint interaction, and the --global/--dev conflicts. No check-runs are reported for this head SHA, so holding approval until CI is green.

  • nit: last_modified: 2026-03-12 should be bumped for this content addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants